package com.sto.stoapp.activity.administrator.hardware;

import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;

import com.sto.stoapp.widget.BaseActivity;
import com.sto.stoapp.widget.LedScreenView;
import com.sto.stoapp.widget.LedScreenView.OnScreenCompleteListener;

public class AdminScreenTestActivity extends BaseActivity{
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
				WindowManager.LayoutParams.FLAG_FULLSCREEN);
		LedScreenView ledScreenView = new LedScreenView(this);
		setContentView(ledScreenView);
		ledScreenView.setListener(new OnScreenCompleteListener() {

			@Override
			public void onScreenCompleteListener() {
				finish();
			}
		});
	}
}
